package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.ProductionOrder;
import com.qidianit.mes.pojo.pro.Workflow;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface ProductionOrderMapper {
    ArrayList<ProductionOrder> selectList(ProductionOrder productionOrder);
    ProductionOrder selectById(Long id);
    int insertProductionOrder(ProductionOrder productionOrder);
    ProductionOrder selectByProductionOrderCode(String productionOrderCode);
    int updateById(ProductionOrder productionOrder);
    int deleteById(Long id);

    ArrayList<ProductionOrder> selectListStatus(ProductionOrder productionOrder);

    ArrayList<Workflow> selectWorkflowById(Long id);


    int updateStatusById(Long id);
    int updateStatusById2(Long id);
    int updateStatusById3(Long id);
}
